package com.jiang.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * @Author: Jiang
 * @CreateTime: 2022-07-19  22:23
 * @Description: TODO
 */
@SpringBootApplication
public class OrderZK80 {

    public static void main(String[] args) {
        SpringApplication.run(OrderZK80.class,args);
    }

    @Bean
    @LoadBalanced
    public RestTemplate getRestTemplate() {
        return new RestTemplate();
    }

}
